
package xin.core.jpa;

/**
 * <pre>
 * JPA 通用注解值常量
 * </pre>
 *
 * @author lixin_ma@outlook.com
 * @version 1.0
 * @since 2017-01-18
 */
public class JpaConstant {

	public static final int UidColumnLength = 36;
	public static final int ShortUidColumnLength = 32;
	public static final String IdGenerator = "uuid";
	public static final String IdGeneratorName = "uuid";
	public static final String IdGeneratorStrategy = "uuid2";
	public static final int HashStringLength = 32;
	public static final int PriorityColumnLength = 4;
	public static final String PriorityOrderAsc = "priority asc";
	public static final String PriorityOrderDesc = "priority desc";
	public static final int DescriptionColumnLength = 4000;
	public static final int NameColumnLength = 100;
	public static final int CommomNameColumnLength = 50;
	public static final int EntNameColumnLength = 200;
	public static final int TreeIconColumnLength = 200;
	public static final int EnumStringShortColumnLength = 1;
	public static final int EnumStringColumnLength = 4;
	public static final int EnumStringLongColumnLength = 8;
	public static final int EnumStringLargeColumnLength = 10;
	public static final int EnterpriseNameColumnStringLength = 200;
	public static final int PersonNameColumnStringLength = 100;
	public static final int IdentificationColumnStringLength = 80;
	public static final int AccountNumberColumnStringLength = 80;
	public static final int CommonStringLength = 32;
	public static final int CommonStringMidLength = 100;
	public static final int CommonStringLargeLength = 200;
	public static final int ConnectNum = 11;
	public static final int IP=15;
	public static final String  WILDCARD = "%";
}
